package com.kuang.dao;

import com.kuang.pojo.DataCollect;
import com.kuang.pojo.Location;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DataCollectMapper {
    //查询当时温度
    String selectTemp(@Param("usage_id") int usage_id);
    //查询当前位置
    String selectLocation(@Param("usage_id") int usage_id);
    //根据usage_id查询所有data
    DataCollect selectDataByUsage_id(@Param("usage_id") int usage_id);
}
